using UnityEngine;
using System.Collections;

public class MouseOver : MonoBehaviour {
	
	public Texture2D[] textures;
	
	void OnMouseEnter()
	{
		renderer.material.mainTexture = textures[0];
	}
	
	void OnMouseExit()
	{
		renderer.material.mainTexture = textures[1];
	}
	
	void OnMouseDown()
	{
		renderer.material.mainTexture = textures[1];
	}
}
